﻿using FlowCanvas.Nodes;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.Liberty.Nodes
{
    [Category("Ggame")]
    public class SwitchInput : CallableActionNode<bool,bool,bool,bool,bool>
    {
        public override void Invoke(bool playInputCameraInput, bool playInputMovementInput, bool CameraInput,bool inputRootMotion,bool inputController/*,bool isKinematic*/)
        {
            BlueprintUtils.SwitchCameraInput(playInputCameraInput);
            BlueprintUtils.SwitchMovementInput(playInputMovementInput);
            BlueprintUtils.OnlySwitchCameraInput(CameraInput);
            BlueprintUtils.SwitchRootMotion(inputRootMotion);
            BlueprintUtils.SwitchPlayerInputController(inputController);
            //BlueprintUtils.SwitchPlayerRigidBodyKinematic(isKinematic);
        }

    }
}